﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Runtime.InteropServices;
using System.Windows.Interop;

namespace Entangle
{
    /// <summary>
    /// Interaction logic for RClickWindow.xaml
    /// </summary>
    public partial class RClickWindow : Window
    {
        public void move_window(object sender, MouseButtonEventArgs e)
        {
            this.DragMove();
        }

        public RClickWindow()
        {
            InitializeComponent();
        }

        private void Button_MouseEnter(object sender, MouseEventArgs e)
        {
            closeButtonPen.Brush = new SolidColorBrush(Colors.Orange);
        }

        private void Button_MouseLeave(object sender, MouseEventArgs e)
        {
            closeButtonPen.Brush = new SolidColorBrush(Colors.Black);
        }

        private void closeButton_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void btnLaunchMessCraft_Click(object sender, RoutedEventArgs e)
        {
#if DEBUG
            MessageCrafter mc = new MessageCrafter();
            mc.Show();
#endif
        }

        private void btnLaunchServerConnector_Click(object sender, RoutedEventArgs e)
        {
#if DEBUG
            SConnectorTest sc = new SConnectorTest();
            sc.Show();
#endif
        }
        
    }
}
